//
//  CommonTools.swift
//  weibobbaj
//
//  Created by Tiffany宝 on 16/4/20.
//  Copyright © 2016年 Tiffany. All rights reserved.
//

import UIKit

//切换根控制器的通知
let XHChangeRootViewNotification:String = "XHChangeRootViewNotification"

//设置随机色
var RandomColor: UIColor {
    
    return UIColor(red: CGFloat(random() % 256) / 255, green: CGFloat(random() % 256) / 255, blue: CGFloat(random() % 256) / 255, alpha: 1)
}

//屏幕的宽高
let SCREENW = UIScreen.mainScreen().bounds.size.width
let SCREENH = UIScreen.mainScreen().bounds.size.height

//点击表情按钮发的通知
let ClickEmotionButtonNotification = "EmotionButtonNotification"

//点击删除按钮发的通知
let ClickDeleteButtonNotification = "DeleteButtonNotification"

